<%@ page language="java" contentType="text/html; charset=UTF-8" 
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">  <!--防止中文在网页上乱码  -->
<title>添加用户</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container"><!--和bootsrape关联  -->
    <h2>添加新用户</h2>
    <form action="AddUserServlet" method="post">    <!--action 跳转  post 会发送给AddUserServlet  -->
        <div class="form-group">
        <label>用户名</label>
        <input class="form-control" placeholder="请输入用户名" type="text" name="username"  >
        </div>
        <div class="form-group">
        <label>密码</label>
        <input class="form-control" placeholder="请输入用密码" type="password" name="userpsw" >
        </div>
        <button class="btn btn-danger">添加</button>
    </form> 
    </div>
  
</body>
</html>